{% import "helpers/common.html" as common %}
{% import "helpers/forms.html" as forms %}

{% extends 'layout.html' %}

{% block content %}
<form class="form-horizontal" method="POST">
    <fieldset>
        <legend>Ajouter nouvelle equipe au club "{{club['Nom_Club']}}"</legend>
        <div class="control-group">
            <label class="control-label" for="inputcategorie">Categorie</label>
            <div class="controls">
                <select name="Nom_Categorie">
                    {% for c in categories %}
                    <option>{{c['Nom_Categorie']}}</option>
                    {% endfor %}
                </select>
            </div>
        </div>
        {{ forms.horinput('Nom_Equipe', 'Nom Equipe') }}
        {{ forms.horsubmit() }}
    </fieldset>
</form>

{% endblock %}
